package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MallPostfee;

import java.util.*;
public class MallPostfeeExample extends SgExample<MallPostfeeExample.Criteria> {
    public static final Class<MallPostfee> beanClass = MallPostfee.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn limitNum;
    public static EntityColumn increaseFee;
    public static EntityColumn fee;
    public static EntityColumn name;
    public static EntityColumn fatherId;
    public static EntityColumn provIds;
    public static EntityColumn increase;
    public static EntityColumn type;
    public static EntityColumn feeId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        limitNum = listMap.get("limitNum");
        increaseFee = listMap.get("increaseFee");
        fee = listMap.get("fee");
        name = listMap.get("name");
        fatherId = listMap.get("fatherId");
        provIds = listMap.get("provIds");
        increase = listMap.get("increase");
        type = listMap.get("type");
        feeId = listMap.get("feeId");
        }

    public MallPostfeeExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MallPostfeeExample.Criteria createCriteriaInternal() {
        return new MallPostfeeExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MallPostfeeExample.Criteria andLimitNumIsNull() {
            return isNull(limitNum);
        }

        public MallPostfeeExample.Criteria andLimitNumIsNotNull() {
            return isNotNull(limitNum);
        }

        public MallPostfeeExample.Criteria andLimitNumEqualTo(Integer value) {
            return equalTo(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumNotEqualTo(Integer value) {
            return notEqualTo(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumGreaterThan(Integer value) {
            return greaterThan(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumLessThan(Integer value) {
            return lessThan(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(limitNum, value);
        }

        public MallPostfeeExample.Criteria andLimitNumIn(List<Integer> values) {
            return in(limitNum, values);
        }

        public MallPostfeeExample.Criteria andLimitNumNotIn(List<Integer> values) {
            return notIn(limitNum, values);
        }

        public MallPostfeeExample.Criteria andLimitNumBetween(Integer value1, Integer value2) {
            return between(limitNum, value1, value2);
        }

        public MallPostfeeExample.Criteria andLimitNumNotBetween(Integer value1, Integer value2) {
            return notBetween(limitNum, value1, value2);
        }
        public MallPostfeeExample.Criteria andIncreaseFeeIsNull() {
            return isNull(increaseFee);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeIsNotNull() {
            return isNotNull(increaseFee);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeEqualTo(String value) {
            return equalTo(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeNotEqualTo(String value) {
            return notEqualTo(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeGreaterThan(String value) {
            return greaterThan(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeLessThan(String value) {
            return lessThan(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeLike(String value) {
            return like(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeNotLike(String value) {
            return notLike(increaseFee, value);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeIn(List<String> values) {
            return in(increaseFee, values);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeNotIn(List<String> values) {
            return notIn(increaseFee, values);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeBetween(String value1, String value2) {
            return between(increaseFee, value1, value2);
        }

        public MallPostfeeExample.Criteria andIncreaseFeeNotBetween(String value1, String value2) {
            return notBetween(increaseFee, value1, value2);
        }
        public MallPostfeeExample.Criteria andFeeIsNull() {
            return isNull(fee);
        }

        public MallPostfeeExample.Criteria andFeeIsNotNull() {
            return isNotNull(fee);
        }

        public MallPostfeeExample.Criteria andFeeEqualTo(String value) {
            return equalTo(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeNotEqualTo(String value) {
            return notEqualTo(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeGreaterThan(String value) {
            return greaterThan(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeLessThan(String value) {
            return lessThan(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeLike(String value) {
            return like(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeNotLike(String value) {
            return notLike(fee, value);
        }

        public MallPostfeeExample.Criteria andFeeIn(List<String> values) {
            return in(fee, values);
        }

        public MallPostfeeExample.Criteria andFeeNotIn(List<String> values) {
            return notIn(fee, values);
        }

        public MallPostfeeExample.Criteria andFeeBetween(String value1, String value2) {
            return between(fee, value1, value2);
        }

        public MallPostfeeExample.Criteria andFeeNotBetween(String value1, String value2) {
            return notBetween(fee, value1, value2);
        }
        public MallPostfeeExample.Criteria andNameIsNull() {
            return isNull(name);
        }

        public MallPostfeeExample.Criteria andNameIsNotNull() {
            return isNotNull(name);
        }

        public MallPostfeeExample.Criteria andNameEqualTo(String value) {
            return equalTo(name, value);
        }

        public MallPostfeeExample.Criteria andNameNotEqualTo(String value) {
            return notEqualTo(name, value);
        }

        public MallPostfeeExample.Criteria andNameGreaterThan(String value) {
            return greaterThan(name, value);
        }

        public MallPostfeeExample.Criteria andNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(name, value);
        }

        public MallPostfeeExample.Criteria andNameLessThan(String value) {
            return lessThan(name, value);
        }

        public MallPostfeeExample.Criteria andNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(name, value);
        }

        public MallPostfeeExample.Criteria andNameLike(String value) {
            return like(name, value);
        }

        public MallPostfeeExample.Criteria andNameNotLike(String value) {
            return notLike(name, value);
        }

        public MallPostfeeExample.Criteria andNameIn(List<String> values) {
            return in(name, values);
        }

        public MallPostfeeExample.Criteria andNameNotIn(List<String> values) {
            return notIn(name, values);
        }

        public MallPostfeeExample.Criteria andNameBetween(String value1, String value2) {
            return between(name, value1, value2);
        }

        public MallPostfeeExample.Criteria andNameNotBetween(String value1, String value2) {
            return notBetween(name, value1, value2);
        }
        public MallPostfeeExample.Criteria andFatherIdIsNull() {
            return isNull(fatherId);
        }

        public MallPostfeeExample.Criteria andFatherIdIsNotNull() {
            return isNotNull(fatherId);
        }

        public MallPostfeeExample.Criteria andFatherIdEqualTo(Long value) {
            return equalTo(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdNotEqualTo(Long value) {
            return notEqualTo(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdGreaterThan(Long value) {
            return greaterThan(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdLessThan(Long value) {
            return lessThan(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(fatherId, value);
        }

        public MallPostfeeExample.Criteria andFatherIdIn(List<Long> values) {
            return in(fatherId, values);
        }

        public MallPostfeeExample.Criteria andFatherIdNotIn(List<Long> values) {
            return notIn(fatherId, values);
        }

        public MallPostfeeExample.Criteria andFatherIdBetween(Long value1, Long value2) {
            return between(fatherId, value1, value2);
        }

        public MallPostfeeExample.Criteria andFatherIdNotBetween(Long value1, Long value2) {
            return notBetween(fatherId, value1, value2);
        }
        public MallPostfeeExample.Criteria andProvIdsIsNull() {
            return isNull(provIds);
        }

        public MallPostfeeExample.Criteria andProvIdsIsNotNull() {
            return isNotNull(provIds);
        }

        public MallPostfeeExample.Criteria andProvIdsEqualTo(String value) {
            return equalTo(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsNotEqualTo(String value) {
            return notEqualTo(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsGreaterThan(String value) {
            return greaterThan(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsLessThan(String value) {
            return lessThan(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsLike(String value) {
            return like(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsNotLike(String value) {
            return notLike(provIds, value);
        }

        public MallPostfeeExample.Criteria andProvIdsIn(List<String> values) {
            return in(provIds, values);
        }

        public MallPostfeeExample.Criteria andProvIdsNotIn(List<String> values) {
            return notIn(provIds, values);
        }

        public MallPostfeeExample.Criteria andProvIdsBetween(String value1, String value2) {
            return between(provIds, value1, value2);
        }

        public MallPostfeeExample.Criteria andProvIdsNotBetween(String value1, String value2) {
            return notBetween(provIds, value1, value2);
        }
        public MallPostfeeExample.Criteria andIncreaseIsNull() {
            return isNull(increase);
        }

        public MallPostfeeExample.Criteria andIncreaseIsNotNull() {
            return isNotNull(increase);
        }

        public MallPostfeeExample.Criteria andIncreaseEqualTo(Integer value) {
            return equalTo(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseNotEqualTo(Integer value) {
            return notEqualTo(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseGreaterThan(Integer value) {
            return greaterThan(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseLessThan(Integer value) {
            return lessThan(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(increase, value);
        }

        public MallPostfeeExample.Criteria andIncreaseIn(List<Integer> values) {
            return in(increase, values);
        }

        public MallPostfeeExample.Criteria andIncreaseNotIn(List<Integer> values) {
            return notIn(increase, values);
        }

        public MallPostfeeExample.Criteria andIncreaseBetween(Integer value1, Integer value2) {
            return between(increase, value1, value2);
        }

        public MallPostfeeExample.Criteria andIncreaseNotBetween(Integer value1, Integer value2) {
            return notBetween(increase, value1, value2);
        }
        public MallPostfeeExample.Criteria andTypeIsNull() {
            return isNull(type);
        }

        public MallPostfeeExample.Criteria andTypeIsNotNull() {
            return isNotNull(type);
        }

        public MallPostfeeExample.Criteria andTypeEqualTo(Integer value) {
            return equalTo(type, value);
        }

        public MallPostfeeExample.Criteria andTypeNotEqualTo(Integer value) {
            return notEqualTo(type, value);
        }

        public MallPostfeeExample.Criteria andTypeGreaterThan(Integer value) {
            return greaterThan(type, value);
        }

        public MallPostfeeExample.Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(type, value);
        }

        public MallPostfeeExample.Criteria andTypeLessThan(Integer value) {
            return lessThan(type, value);
        }

        public MallPostfeeExample.Criteria andTypeLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(type, value);
        }

        public MallPostfeeExample.Criteria andTypeIn(List<Integer> values) {
            return in(type, values);
        }

        public MallPostfeeExample.Criteria andTypeNotIn(List<Integer> values) {
            return notIn(type, values);
        }

        public MallPostfeeExample.Criteria andTypeBetween(Integer value1, Integer value2) {
            return between(type, value1, value2);
        }

        public MallPostfeeExample.Criteria andTypeNotBetween(Integer value1, Integer value2) {
            return notBetween(type, value1, value2);
        }
        public MallPostfeeExample.Criteria andFeeIdIsNull() {
            return isNull(feeId);
        }

        public MallPostfeeExample.Criteria andFeeIdIsNotNull() {
            return isNotNull(feeId);
        }

        public MallPostfeeExample.Criteria andFeeIdEqualTo(Long value) {
            return equalTo(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdNotEqualTo(Long value) {
            return notEqualTo(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdGreaterThan(Long value) {
            return greaterThan(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdLessThan(Long value) {
            return lessThan(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(feeId, value);
        }

        public MallPostfeeExample.Criteria andFeeIdIn(List<Long> values) {
            return in(feeId, values);
        }

        public MallPostfeeExample.Criteria andFeeIdNotIn(List<Long> values) {
            return notIn(feeId, values);
        }

        public MallPostfeeExample.Criteria andFeeIdBetween(Long value1, Long value2) {
            return between(feeId, value1, value2);
        }

        public MallPostfeeExample.Criteria andFeeIdNotBetween(Long value1, Long value2) {
            return notBetween(feeId, value1, value2);
        }
    }
}